﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductSpecialPromotion.ascx.cs" Inherits="UserControls_ProductSpecialPromotion" %>
<asp:Repeater ID="productFrontPromotion" runat="server">
	<ItemTemplate>
		<div class="thumbnail" style="margin-bottom: 10px;">
			<a href="<%# Link.ToProduct(Eval("ProductID").ToString()) %>" title="<%# Eval("Name") %>">
				<img src="Uploads/Thumbnails/<%# Eval("Thumbnail") %>" alt="" width="253" />
			</a>
			<div class="caption">
				<a href="<%# Link.ToProduct(Eval("ProductID").ToString()) %>" title="<%# Eval("Name") %>">
					<h3 class="panel-title">
						<%# HttpUtility.HtmlEncode(Eval("Name").ToString()) %>
					</h3>
				</a>
				<p class="help-block">
					<span class="btn btn-info btn-xs full-left" style="text-decoration: line-through;">
						<%# Eval("Price", "{0:c}") %>
					</span>
					<span class="btn btn-success btn-xs full-left">
						<%# Eval("SpecialPrice", "{0:c}") %>
					</span>
					<a href="<%# Link.ToProduct(Eval("ProductID").ToString()) %>" class="btn btn-info btn-xs pull-right"
						title="មើលលម្អិត">មើលលម្អិត</a>
				</p>
			</div>
		</div>
	</ItemTemplate>
</asp:Repeater>
